package com.smile.request;

import lombok.Data;

import java.io.Serializable;

/**
 * <p>联想请求对象</p>
 *
 * @author hzhan
 */
@Data
public class AssociateRequest implements Serializable {

    /**
     * 固定值 word
     */
    private String c;

    /**
     * 固定值 getsuggest
     */
    private String m;

    /**
     * 返回数量
     */
    private String nums;

    /**
     * 固定值 6
     */
    private String client;

    /**
     * 固定值 1
     */
    private String is_need_mean;

    /**
     * 搜索词
     */
    private String word;

    /**
     * 构造
     *
     * @param word
     */
    public AssociateRequest(String word) {
        this.c = "word";
        this.m = "getsuggest";
        this.nums = "20";
        this.client = "6";
        this.is_need_mean = "1";
        this.word = word;
    }

}
